package com.depository.oss.model.entity;


import javax.persistence.Column;
import javax.persistence.Table;


/*@Table(name = "user_info2")*/
public class User extends BaseEntity{

    /*@Column(name = "login_name", columnDefinition = "用户名")*/
    private String loginName;
    /*@Column(name = "login_password", columnDefinition = "密码")*/
    private String loginPassword;

    public User(){}

    public User(String id,String loginName,String loginPassword){
        this.setId(id);
        this.setLoginName(loginName);
        this.setLoginPassword(loginPassword);
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

    @Override
    public String toString() {
        return"User [id=" +this.getId() +", name=" +loginName +"loginPassword" +loginPassword+ "]";
    }
}
